﻿using UnityEngine;

public class TestCombineSkinnedRenderers : MonoBehaviour
{
    void Start()
    {
        using ( Nave.Tecnique.Timewatch tw = new Nave.Tecnique.Timewatch(" Merge Skins "))
        {
            var skinneds = gameObject.GetComponentsInChildren<SkinnedMeshRenderer>();
            Nave.Tecnique.RendererCombiner.Merge(skinneds);
        }
    }
}